<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
  <meta http-equiv="Content-Language" content="en-us">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Defining Project Build settings</title>
  <link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<div role="main"><h1>Defining Project Build settings</h1>
<p>The <strong>Builder Settings</strong> page lets you:</p>
<ul>
  <li>Select whether CDT-generated makefile should be used or custom one.</li>
  <li>Select internal or external builder (for generated makefile only).</li>
  <li>Change the default build command (for external builder or for custom makefile).</li>
  <li>Configure how the CDT handles make errors.</li>
  <li>Change parallel build settings.</li> 
  <li>Map the target passed to make when you select build or rebuild.</li>
  <li>Redefine build directory (for custom makefile only)</li>
</ul>

<p>To define build settings:<br>
In the C/C++ Projects view, right-click your project, and select <strong>Properties</strong>. 
Select <strong>C/C++ Build </strong> from the list.
</p>

<p><img src="../images/builder_settings.png"
 alt="Defining Project Build settings"></p>

<ul>
  <li>To stop the build when an error is encountered, select <strong>Stop
on first build error</strong>.</li>
  <li>Select one of the following build command settings:
  <ul>
    <li>To use the default make command, select the <strong>Use Default</strong>
check box.</li>
    <li>To use a build utility other than the default make command <strong>Build
Command</strong> box, clear the <strong>Use Default</strong> check box .</li>
  </ul>
  </li>
  <li>In the Workbench Build Behavior box, do the following:
  <ul>
    <li>To build your project when resources are saved and change the
default make build target, select the <strong>Build on resource save (Auto
Build)</strong> check box. Enter a new build target in the <strong>Make build
target</strong> box.</li>
    <li>To change the build default make build target, select the <strong>Build
(Incremental Build)</strong> check box. Enter a new build target in the <strong>Make
build target</strong> box.</li>
    <li>To change the rebuild default make build target, select the <strong>Rebuild
(Full Build)</strong> check box. Enter a new build target in the <strong>Make
build target</strong> box.</li>
  </ul>
  </li>
  <li>Click <span style="font-weight: bold;">OK</span>.</li>
</ul>
<p><img src="../images/ngconcepts.gif" alt="Related concepts"
 width="143" height="21"><br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
<p><img src="../images/ngtasks.gif" alt="Related tasks"
 width="143" height="21">
<br>
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
<img src="../images/ng00_04a.gif" alt="IBM Copyright Statement">
</div></body>
</html>
